{{% extends 'base.html' %}

{% block body %}
<meta charset="UTF-8">
<style>
        .body {
            background-image: linear-gradient(to right,#FFE4B5 0%,  #FFC0CB 50%, #FFE4B5 100%);
            background-repeat: repeat;
            background-attachment: fixed;
            background-size: cover;
            margin-top:       10%;
            margin-bottom:    50%;
            margin-left:      8%;
            margin-right:     10%;
            padding: 0;
        }

    </style>
<h1 style="color: 	#CD5C5C;">{{ the_title }}</h1>
<div class="results">
    <table>
        <tr><td>城市</td><td>{{ the_city }}</td></tr>
    </table>
    <p>天气查询结果如下</p>
    {{ the_html_table|safe }}
</div>

{% endblock %}